/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/3/14 13:46:24
 */
import request from '@/utils/request'

export function fileUpInfo(query) {
    return request({
      url: '/system/tools/fileUpInfo',
      method: 'post',
      params: query
    })
}

export function fileUp(data,event) {
    return request({
      url: '/system/tools/fileUp',
      method: 'post',
      data,
      onUploadProgress:event
    })
}